import axios from "axios"

import  {Method} from '@/util/method/requestMethod.ts'

export  function selectList(url:string,data:any) {
    return axios({
        url:"http://localhost:8989"+url,
        method:Method.POST,
        data
    })
}

export  function deleteEmployeeById(url:string,data:any) {
    return axios({
        url:"http://localhost:8989"+url,
        method:Method.POST,
        data
    })
}
export  function updateEmployee(url:string,data:any) {
    return axios({
        url:"http://localhost:8989"+url,
        method:Method.POST,
        data
    })
}
